<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
<!-- QCtmMessageTipButton.cpp -->
  <meta name="description" content="消息提示按钮.">
  <title>QCtmMessageTipButton Class | QCustomUi 1.19.0</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
    <div class="main">
    <div class="main-rounded">
        <div class="navigationbar">
        <ul>
<li><a href="index.html">QCustomUi 1.19.0</a></li>
<li><a href="qcustomui-module.html" translate="no">QCustomUi</a></li>
<li>QCtmMessageTipButton</li>
<li id="buildversion">QCustomUi 1.19.0 Reference Documentation</li>
    </ul>
    </div>
</div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3 id="toc">Contents</h3>
<ul>
<li class="level1"><a href="#properties">Properties</a></li>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title" translate="no">QCtmMessageTipButton Class</h1>
<!-- $$$QCtmMessageTipButton-brief -->
<p>消息提示按钮. <a href="#details">More...</a></p>
<!-- @@@QCtmMessageTipButton -->
<div class="table"><table class="alignedsummary requisites" translate="no">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <code translate="no">#include &lt;QCtmMessageTipButton.h&gt;</code></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> QAbstractButton</td></tr>
</table></div>
<ul>
<li><a href="qctmmessagetipbutton-members.html">List of all members, including inherited members</a></li>
</ul>
<h2 id="properties">Properties</h2>
<ul>
<li class="fn" translate="no"><b><a href="qctmmessagetipbutton.html#tipColor-prop" translate="no">tipColor</a></b> : QColor</li>
</ul>
<h2 id="public-functions">Public Functions</h2>
<div class="table"><table class="alignedsummary" translate="no">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qctmmessagetipbutton.html#QCtmMessageTipButton" translate="no">QCtmMessageTipButton</a></b>(QWidget *<i>parent</i> = nullptr)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual </td><td class="memItemRight bottomAlign"><b><a href="qctmmessagetipbutton.html#dtor.QCtmMessageTipButton" translate="no">~QCtmMessageTipButton</a></b>()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QCtmAbstractMessageTipModel *</td><td class="memItemRight bottomAlign"><b><a href="qctmmessagetipbutton.html#model" translate="no">model</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qctmmessagetipbutton.html#setModel" translate="no">setModel</a></b>(QCtmAbstractMessageTipModel *<i>model</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qctmmessagetipbutton.html#setTipColor" translate="no">setTipColor</a></b>(const QColor &amp;<i>color</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qctmmessagetipbutton.html#setView" translate="no">setView</a></b>(QCtmAbstractMessageTipView *<i>view</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> const QColor &amp;</td><td class="memItemRight bottomAlign"><b><a href="qctmmessagetipbutton.html#tipColor" translate="no">tipColor</a></b>() const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QCtmAbstractMessageTipView *</td><td class="memItemRight bottomAlign"><b><a href="qctmmessagetipbutton.html#view" translate="no">view</a></b>() const</td></tr>
</table></div>
<!-- $$$QCtmMessageTipButton-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
</div>
<!-- @@@QCtmMessageTipButton -->
<div class="prop">
<h2>Property Documentation</h2>
<!-- $$$tipColor-prop$$$tipColor$$$setTipColorconstQColor& -->
<h3 class="fn" translate="no" id="tipColor-prop"><span class="name">tipColor</span> : <span class="type"><a href="https://doc.qt.io/qt/qcolor.html" translate="no">QColor</a></span></h3>
<p>消息提示数量的颜色.</p>
<p><b>Access functions:</b></p>
<div class="table"><table class="alignedsummary" translate="no">
<tr><td class="memItemLeft topAlign rightAlign"> const QColor &amp;</td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qctmmessagetipbutton.html#tipColor" translate="no">tipColor</a></b></span>() const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qctmmessagetipbutton.html#setTipColor" translate="no">setTipColor</a></b></span>(const QColor &amp;<i>color</i>)</td></tr>
</table></div>
<!-- @@@tipColor -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QCtmMessageTipButton[overload1]$$$QCtmMessageTipButtonQWidget* -->
<h3 class="fn" translate="no" id="QCtmMessageTipButton"><code class="details extra" translate="no">[explicit]</code> QCtmMessageTipButton::<span class="name">QCtmMessageTipButton</span>(<span class="type"><a href="https://doc.qt.io/qt/qwidget.html#QWidget" translate="no">QWidget</a></span> *<i>parent</i> = nullptr)</h3>
<p>构造一个父对象为 <i translate="no">parent</i> 的消息提示按钮.</p>
<!-- @@@QCtmMessageTipButton -->
<!-- $$$~QCtmMessageTipButton[overload1]$$$~QCtmMessageTipButton -->
<h3 class="fn" translate="no" id="dtor.QCtmMessageTipButton"><code class="details extra" translate="no">[virtual noexcept]</code> QCtmMessageTipButton::<span class="name">~QCtmMessageTipButton</span>()</h3>
<p>销毁该消息提示按钮对象.</p>
<!-- @@@~QCtmMessageTipButton -->
<!-- $$$model[overload1]$$$model -->
<h3 class="fn" translate="no" id="model"><span class="type"><a href="qctmabstractmessagetipmodel.html" translate="no">QCtmAbstractMessageTipModel</a></span> *QCtmMessageTipButton::<span class="name">model</span>() const</h3>
<p>返回消息提示按钮的数据来源 model.</p>
<p><b>See also </b><a href="qctmmessagetipbutton.html#setModel" translate="no">setModel</a>.</p>
<!-- @@@model -->
<!-- $$$setModel[overload1]$$$setModelQCtmAbstractMessageTipModel* -->
<h3 class="fn" translate="no" id="setModel"><span class="type">void</span> QCtmMessageTipButton::<span class="name">setModel</span>(<span class="type"><a href="qctmabstractmessagetipmodel.html" translate="no">QCtmAbstractMessageTipModel</a></span> *<i>model</i>)</h3>
<p>设置消息提示按钮的数据来源 <i translate="no">model</i>.</p>
<p><b>See also </b><a href="qctmmessagetipbutton.html#model" translate="no">model</a>().</p>
<!-- @@@setModel -->
<!-- $$$setTipColor -->
<h3 class="fn" translate="no" id="setTipColor"><span class="type">void</span> QCtmMessageTipButton::<span class="name">setTipColor</span>(const <span class="type"><a href="https://doc.qt.io/qt/qcolor.html" translate="no">QColor</a></span> &amp;<i>color</i>)</h3>
<p>设置消息提示数量的颜色 <i translate="no">color</i>.</p>
<div class="admonition note"><p><b>Note: </b>Setter function for property <a href="qctmmessagetipbutton.html#tipColor" translate="no">tipColor</a>. </p>
</div><p><b>See also </b><a href="qctmmessagetipbutton.html#tipColor" translate="no">tipColor</a>().</p>
<!-- @@@setTipColor -->
<!-- $$$setView[overload1]$$$setViewQCtmAbstractMessageTipView* -->
<h3 class="fn" translate="no" id="setView"><span class="type">void</span> QCtmMessageTipButton::<span class="name">setView</span>(<span class="type"><a href="qctmabstractmessagetipview.html" translate="no">QCtmAbstractMessageTipView</a></span> *<i>view</i>)</h3>
<p>设置消息提示按钮的拓展列表视图 <i translate="no">view</i>.</p>
<p><b>See also </b><a href="qctmmessagetipbutton.html#view" translate="no">view</a>().</p>
<!-- @@@setView -->
<!-- $$$tipColor -->
<h3 class="fn" translate="no" id="tipColor">const <span class="type"><a href="https://doc.qt.io/qt/qcolor.html" translate="no">QColor</a></span> &amp;QCtmMessageTipButton::<span class="name">tipColor</span>() const</h3>
<p>返回消息提示数量的颜色.</p>
<div class="admonition note"><p><b>Note: </b>Getter function for property tipColor. </p>
</div><p><b>See also </b><a href="qctmmessagetipbutton.html#setTipColor" translate="no">setTipColor</a>.</p>
<!-- @@@tipColor -->
<!-- $$$view[overload1]$$$view -->
<h3 class="fn" translate="no" id="view"><span class="type"><a href="qctmabstractmessagetipview.html" translate="no">QCtmAbstractMessageTipView</a></span> *QCtmMessageTipButton::<span class="name">view</span>() const</h3>
<p>返回消息提示按钮的拓展列表视图.</p>
<p><b>See also </b><a href="qctmmessagetipbutton.html#setView" translate="no">setView</a>.</p>
<!-- @@@view -->
</div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> QCustomUi
   Documentation contributions included herein are the copyrights of
   their respective owners.<br/>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br/> </div>
</body>
</html>
